<template>
    <div class="vacation">
        <div class="vacation-top">
            周末区哪儿
        </div>
        <div class="content" v-for="item in vacationList" :key="item.id">
            <img :src="item.imgUrl" alt="">
            <p>{{item.title}}</p>
            <p class="desc">{{item.msg}}</p>
        </div>
        
    </div>
</template>

<script>
export default {
    props:['vacationList'],
    data(){
        return{
        
        }
    }
}
</script>

<style scoped>
.vacation .vacation-top{
    font-size: 16px;
    font-weight: 700;
    height: 30px;
    line-height: 30px;
    margin-left: 20px;
}

.content{
    width: 100%;
    background-color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.content img{
    width: 100%;
    height: 100px;
}
.content p{
    padding: 5px 20px;
}
.content .desc{
    font-size: 14px;
    font-weight: normal;
}
</style>